package com.fen.demo016;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: lrf
 * @create: 2019-03-23
 **/
@Component
@Data
public class ExampleSqEL {

	@Value("#{exampleConfig.name}")
	private String name;
	@Value("#{exampleConfig.age}")
	private int age;
	@Value("#{exampleConfig.height}")
	private float height;
	@Value("#{exampleConfig.programmer}")
	private boolean programmer;
	@Value("#{exampleConfig.ageInSeconds}")
	private Long ageInSeconds;
}
